﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace ByChannelFactoryCallWCFService
{
    //[ServiceContract(Namespace="demo-sv",Name="demo")]
    [ServiceContract(Namespace = "demo-sv", Name = "demo")]
    interface ITestService : IClientChannel
    {
        //[OperationContract(Name = "add",Action ="add-opt")]
        [OperationContract(Name = "add", Action = "add-opt")]
        int Add(int x, int y);
    }
}
